package com.apexedu.identity.action;

import com.apexedu.biz.action.BizBaseAction;
import com.apexedu.framework.service.BaseService;
import com.apexedu.identity.entity.TSysRole;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by wangjian on 14-4-15.
 * 输出角色列表
 */
@Component
@Scope("prototype")
public class IdRoleButtonAction extends BizBaseAction {

    @Resource(name="idRoleButtonService")
    public void setBaseService(BaseService baseService){
        super.setBaseService(baseService);
    }
    private List<TSysRole> roleList;//角色

    private String appId;

    private String rolesId;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getRolesId() {
        return rolesId;
    }

    public void setRolesId(String rolesId) {
        this.rolesId = rolesId;
    }

    public List<TSysRole> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<TSysRole> roleList) {
        this.roleList = roleList;
    }
}
